Skip to content

[client] read fallback to lake when encountering OutOfRange exception#3308

Open
zuston wants to merge 7 commits into
apache:mainfrom
zuston:fixoutofrange
Open

[client] read fallback to lake when encountering OutOfRange exception#3308
zuston wants to merge 7 commits into
apache:mainfrom
zuston:fixoutofrange

Conversation

@zuston
Copy link
Copy Markdown
Member

@zuston zuston commented May 13, 2026

Purpose

Linked issue: close #3228

Brief change log

  1. fix the lake missing startOffset setting
  2. server trigger lake read fallback, and then client can read from the lake after specified startOffset

Tests

API and Format

Documentation

checkNotNull(lakeSource).createPlanner(() -> lakeLogFetchInfo.snapshotId()).plan();
List<LakeSplit> lakeSplits = new ArrayList<>();
for (LakeSplit lakeSplit : plannedSplits) {
// todo: partition + bucket filter and offset column filter could be supported in the
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this PR is OK, I will submit the following PR to optimize the planning

@zuston
Copy link
Copy Markdown
Member Author

zuston commented May 13, 2026

@luoyuxia Could you help review this?

@zuston zuston marked this pull request as ready for review May 13, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possible OutOfRangeException when reading the stream log table after resuming from a long interruption

1 participant